package com.gxitsky.behavioral.pipeline2;

import org.springframework.util.CollectionUtils;

import java.util.List;

/**
 * @author gxing
 * @desc TODO
 * @date 2022/3/29
 */
public class PipeTask implements Runnable {

    @Override
    public void run() {
        List<Pipe> pipes = PipeManager.getPipes();
        if(!CollectionUtils.isEmpty(pipes)){
            for (Pipe pipe : pipes) {
            }
        }
    }
}
